<%- partial('../sign/sidebar') %>

<div id='content'>
    <div class='panel'>
        <div class='header'>
            <ul class='breadcrumb'>
                <li><a href='/'>主页</a></li>
                <li class='active'>找回密码</li>
            </ul>
        </div>
        <div class='innerTopic'>
            <% if (typeof(error) !== 'undefined' && error) { %>
            <div class="alert alert-error">
                <a class="close" data-dismiss="alert" href="#">&times;</a>
                <strong><%= error %></strong>
            </div>
            <% } %>
            <form id='search_pass_form' class='form-horizontal' action='/search_pass' method='post'>
                <fieldset>
                    <div class='form-group'>
                        <label class='control-label' for='email'>电子邮箱</label>

                        <div class='controls'>
                            <% if (typeof(email) !== 'undefined') { %>
                            <input class='form-control' id='email' name='email' size='30' type='text'
                                   value='<%= email %>'/>
                            <% } else { %>
                            <input class='form-control' id='email' name='email' size='30' type='text'/>
                            <% } %>
                            <p class='help-block'>请输入您注册帐户时使用的电子邮箱</p>
                        </div>
                        <input type='hidden' name='_csrf' value='<%= csrf %>'/>
                    </div>
                    <div class='form-actions'>
                        <input type='submit' class='span-primary' value='提交'/>
                    </div>
                </fieldset>
            </form>
        </div>
    </div>
</div>
